package com.pctx.common.pojo;

import java.util.ArrayList;
import java.util.List;

public class RbacPermission {

    // 状态：1正常 -1删除
    public static final int STATUS_DEL = -1;
    public static final int STATUS_OK = 1;

    private Integer id;

    private String uuid;

    private String name;

    private String description;

    private String permissionUrl;

    private Integer parentId;

    private Integer supportOperators;

    private Integer supportTvStation;

    private Integer supportCompany;

    private Integer status;

    private String sorting;

    private Integer type;

    private String code;

    private String menuIcon;

    private Integer adminFlag;

    private String backup2;

    private String backup3;

    private String backup4;

    private List<RbacPermission> childs = new ArrayList<RbacPermission>();

    public void setChilds(List<RbacPermission> childs) {
        this.childs = childs;
    }

    public List<RbacPermission> getChilds() {
        return childs;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getPermissionUrl() {
        return permissionUrl;
    }

    public void setPermissionUrl(String permissionUrl) {
        this.permissionUrl = permissionUrl == null ? null : permissionUrl.trim();
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getSupportOperators() {
        return supportOperators;
    }

    public void setSupportOperators(Integer supportOperators) {
        this.supportOperators = supportOperators;
    }

    public Integer getSupportTvStation() {
        return supportTvStation;
    }

    public void setSupportTvStation(Integer supportTvStation) {
        this.supportTvStation = supportTvStation;
    }

    public Integer getSupportCompany() {
        return supportCompany;
    }

    public void setSupportCompany(Integer supportCompany) {
        this.supportCompany = supportCompany;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getSorting() {
        return sorting;
    }

    public void setSorting(String sorting) {
        this.sorting = sorting == null ? null : sorting.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon == null ? null : menuIcon.trim();
    }

    public Integer getAdminFlag() {
        return adminFlag;
    }

    public void setAdminFlag(Integer adminFlag) {
        this.adminFlag = adminFlag;
    }

    public String getBackup2() {
        return backup2;
    }

    public void setBackup2(String backup2) {
        this.backup2 = backup2 == null ? null : backup2.trim();
    }

    public String getBackup3() {
        return backup3;
    }

    public void setBackup3(String backup3) {
        this.backup3 = backup3 == null ? null : backup3.trim();
    }

    public String getBackup4() {
        return backup4;
    }

    public void setBackup4(String backup4) {
        this.backup4 = backup4 == null ? null : backup4.trim();
    }
}